<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

	<link rel='stylesheet' type='text/css' href='<?php echo base_url();?>assets/blueprint.css' media='screen' />
	<link rel='stylesheet' type='text/css' href='<?php echo base_url();?>assets/admin.css' media='screen' />
	<!--[if lt IE 8]>
		<link ref='stylesheet' type='text/css' href='<?php echo base_url();?>assets/ie.css' media='all' />
	<![endif]-->

	<?php if (is_mode('development')): ?>
		<link rel='stylesheet' type='text/css' href='<?php echo base_url();?>assets/development/development.css' media='screen' />
	<?php endif; ?>

	<title>[SITENAME] | GreyDev | Administer</title>
</head>

<body id="greydev_admin">

	<div id='container' class='container'>

		<div id='header_pane'>
			<p><em>[SITENAME] Administration</em></p>
		</div>

		<div id='navigation_pane' class="span-20 last">
			<ul class="clearfix">
				<?php foreach($navigation_area_links as $link => $display): ?>
					<li id="navlink-<?php echo str_replace('/', '_', $link);?>" <?php echo ($link == $navigation_current_link) ? "class='current'" : ''; ?>>
						<a href="<?php echo site_url($link); ?>" title="Navigation link for <?php echo $display; ?>"><?php echo $display; ?></a>
					</li>
				<?php endforeach; ?>
			</ul>
		</div>

		<div id='content_pane' class="span-20 last">

			<div id='notice_pane'>
				<?php if (there_are_notices()) echo "<div class='notices_bg'>&nbsp;</div>" . $notices; ?>
			</div>

			<?php echo $content_for_layout;?>
		</div>

		<div id='footer_pane' class="span-20 last">
			<p>Thanks for using GreyDev! Version: <strong>Dev</strong></p>
		</div>

	</div>

	<!-- Development Tools -->
	<?php if (is_mode('development')) echo show_development_tools(); ?>

	<!-- Javascript -->
	<script type='text/javascript' src='<?php echo base_url(); ?>assets/jquery-1.3.2.min.js'></script>
	<script type='text/javascript' src='<?php echo base_url(); ?>assets/jquery-ui/js/jquery-ui-1.7.2.custom.min.js'></script>
	<script type='text/javascript' src='<?php echo base_url(); ?>assets/jquery-form-2.28.js'></script>
	<script type='text/javascript' src='<?php echo base_url(); ?>assets/scripts.js'></script>
	<?php if (is_mode('development')): ?><script type='text/javascript' src='<?php echo base_url();?>assets/development/development.js'></script><?php endif; ?>
</body>
</html>